package com.e3.basdoc.currency.service;

import java.util.List;

import com.e3.basdoc.currency.model.CurrencyModel;
import com.e3.core.base.ModelCacheManager;

public class CurrencyCacheManager extends ModelCacheManager<CurrencyModel>{
	
	public final static String CURRENCY_CACHE = "CURRENCY_CACHE";
	
	public static CurrencyCacheManager INSTANCE = new CurrencyCacheManager();
	
	public void put(CurrencyModel model){
		putModel(CURRENCY_CACHE, model);
	}

	public CurrencyModel get(Long id) {
		return getModel(CURRENCY_CACHE, id);
	}
	
	public void remove(List<Long> ids){
		removeModels(CURRENCY_CACHE,ids);
	}

}
